package org.scboy.common.dynamic.edge;

import org.scboy.common.dynamic.endpoint.BaseEndpoint;
import org.scboy.common.dynamic.node.BaseNode;

public class BaseEdge {
	
	/**
	 * 流入端点
	 */
	private BaseEndpoint targetEndpoint;
	
	/**
	 * 流出端点
	 */
	private BaseEndpoint sourceEndpoint;
	

	/**
	 * 流入节点
	 */
	private BaseNode targetNode;
	
	/**
	 * 流出节点
	 */
	private BaseNode sourceNode;

	public BaseEndpoint getTargetEndpoint() {
		return targetEndpoint;
	}

	public void setTargetEndpoint(BaseEndpoint targetEndpoint) {
		this.targetEndpoint = targetEndpoint;
	}

	public BaseEndpoint getSourceEndpoint() {
		return sourceEndpoint;
	}

	public void setSourceEndpoint(BaseEndpoint sourceEndpoint) {
		this.sourceEndpoint = sourceEndpoint;
	}

	public BaseNode getTargetNode() {
		return targetNode;
	}

	public void setTargetNode(BaseNode targetNode) {
		this.targetNode = targetNode;
	}

	public BaseNode getSourceNode() {
		return sourceNode;
	}

	public void setSourceNode(BaseNode sourceNode) {
		this.sourceNode = sourceNode;
	}
}
